package com.dm.webCrawler.framework.web.page;

import java.util.List;

public class PageData<T> {

	private int page;
	private int pageSize;
	private long total;
	private List<T> data;
	public PageData(){};
	
	public PageData(int page, int pageSize, long total, List<T> data) {
		super();
		this.page = page;
		this.pageSize = pageSize;
		this.total = total;
		this.data = data;
	}
	public int getPage() {
		return page;
	}
	public void setPage(int page) {
		this.page = page;
	}
	public int getPageSize() {
		return pageSize;
	}
	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}
	public long getTotal() {
		return total;
	}
	public void setTotal(long total) {
		this.total = total;
	}
	public List<T> getData() {
		return data;
	}
	public void setData(List<T> data) {
		this.data = data;
	}
	
}
